﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;

namespace Zoo.Cat.WcfImageService.DataHelper
{
    [DataContract]
    public class Picture
    {
        [DataMember]
        [Key]
        public Guid Id { get; set; }

        [DataMember]
        public byte[] PictureBinary { get; set; }

        [DataMember]
        public string MimeType { get; set; }

        [DataMember]
        public string Filename { get; set; }

        [DataMember]
        public int Height { get; set; }

        [DataMember]
        public int Width { get; set; }

        [DataMember]
        public int Size { get; set; }

        [DataMember]
        public int Flag { get; set; }

        [DataMember]
        public string Notes { get; set; }
    }
}